package com.sc.oa.entity;

import java.util.HashSet;
import java.util.Set;



/**
 * GroupInfo entity. @author MyEclipse Persistence Tools
 */

public class GroupInfo  implements java.io.Serializable {


    // Fields    

     private Integer groupId;
     private String groupName;
     private Integer uid;
     private Set roles = new HashSet(0);
     private Set group = new HashSet();

    // Constructors

    /** default constructor */
    public GroupInfo() {
    }

	/** minimal constructor */
    public GroupInfo(Integer uid) {
        this.uid = uid;
    }
    
    /** full constructor */
    public GroupInfo(String groupName, Integer uid) {
        this.groupName = groupName;
        this.uid = uid;
    }

   
    // Property accessors

    public Integer getGroupId() {
        return this.groupId;
    }
    
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return this.groupName;
    }
    
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getUid() {
        return this.uid;
    }
    
    public void setUid(Integer uid) {
        this.uid = uid;
    }

	public Set getRoles() {
		return roles;
	}

	public void setRoles(Set roles) {
		this.roles = roles;
	}

	public Set getGroup() {
		return group;
	}

	public void setGroup(Set group) {
		this.group = group;
	}
   
	

}